package cs304.p3.library.model;

import cs304.p3.library.framework.LibraryDataAccessContext;

public class LoginForm {
	
	private String jdbcUrl = new String(LibraryDataAccessContext.jdbcUrl);
	private String username = new String(LibraryDataAccessContext.username);
	private String rememberedUserName = "";
	private String password = new String(LibraryDataAccessContext.password);
	private boolean rememberUsername = false;
	
	public void setJdbcUrl(String jdbcUrl) {
		this.jdbcUrl = jdbcUrl;
	}
	
	public String getJdbcUrl() {
		return jdbcUrl;
	}
	
	public void setRememberedUserName(String username){
		rememberedUserName = username;
	}
	
	public String getRememberedUserName(){
		return rememberedUserName;
	}
	
	public void setUsername(String username) {
		this.username = username;
	}
	
	public String getUsername() {
		return username;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getPassword() {
		return password;
	}
	
	public void setRememberUsername(boolean rememberUsername) {
		this.rememberUsername = rememberUsername;
	}
	
	public boolean isRememberUsername() {
		return rememberUsername;
	}
}
